package com.mi.proxy3;

public class Student implements Person {

	private String name;
	
	public Student(String name) {
		super();
		this.name = name;
	}

	@Override
	public void say() throws Exception {
		if(name.equals("马加爵")){
			throw new Exception("我是一个恶魔，我不是一个学生");
		}
		System.out.println("我是一个学生");
	}

}
